#ifndef __PKCS_H
#define __PKCS_H
#include <stddef.h>

/*二级指针需要手动释放*/
int pkcs7_pad(const unsigned char *data, size_t data_len, 
              unsigned char **padded_data, size_t *padded_len, 
              size_t block_size);
int pkcs7_unpad(const unsigned char *padded_data, size_t padded_len,
                unsigned char **data, size_t *data_len,
                size_t block_size);
#endif
